package com.haiyan.demo04_继承后成员访问规则;

public class Test {
    public static void main(String[] args) {
        Zi zi=new Zi();

        System.out.println(zi.age);
        zi.method2();
    }
}
